package sr.codemg.service;

import sr.codemg.vm.Base;
import sr.codemg.vm.Login;
import sr.codemg.vm.Passwd;

import javax.servlet.http.HttpServletResponse;

public interface LoginService {
    Base.Response login(Login.Request entity, HttpServletResponse response);

    Base.Response updatePass(Passwd.Request entity);

    void deleteUserCache(String userId, String token);
}
